Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: fix some sync issues caused by prune-block. #2466

Merged
merged 2 commits into from
May 16, 2024

Conversation

galaio
Copy link
Contributor

@galaio galaio commented May 16, 2024

Description

When user prunes block too much, the node will not sync again. This PR reset the sync floor, and fixed the ancient query bug.

Changes

Notable changes:

  • freezer: fix offset issues when query ancient;
  • sync: opt pruned node sync logic;

galaio added 2 commits May 16, 2024 11:36

Verified

This commit was signed with the committer’s verified signature.
MylesBorins Myles Borins

Unverified

The email in this signature doesn’t match the committer email.
@galaio galaio requested review from buddh0 and zzzckck May 16, 2024 03:41
@zzzckck zzzckck merged commit 6b8cbbe into bnb-chain:develop May 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants